export default {
  numberFloat: /^[0-9]+(\.[0-9]+)?$/, //正浮点数包括0
  numberLetter: /^[0-9a-zA-Z]+$/, //数字和字母
  number: /^\d+$/, //正整数
  numberFloatTwo: /^\d+(\.\d{1,2})?$/, //正整数或保留两位小数以内
  phone: /^(13[0-9]|14[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9])\d{8}$/, //手机号
  uniformCreditCode: /^[0-9A-Z]{18}$/, //统一信用代码
  idCardNumber: /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/, //身份证号码
  bankCardNumber: /^[0-9]{10,20}$/, //银行卡号
  hanZi: /^[\u2E80-\u9FFF]+$/, //汉字
  zh_Name: /^[\u4e00-\u9fa5|a-zA-Z]{2,}$/,
  password: /^[0-9A-Za-z]{6,20}$/, //密码6-20位字母和数字
  tell: /^\d{3,4}\d{7,8}$/, //座机
}
